sketch\morse.cpp: In function 'void morseLetter(char)': sketch\morse.cpp:69:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sizeof(morse_table)/ sizeof(struct Morse); i++){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sketch\nano_gui.cpp: In function 'bool xpt2046_Init()': sketch\nano_gui.cpp:153:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ sketch\nano_gui.cpp: In function 'void setupTouch()': sketch\nano_gui.cpp:227:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] displayText("Click on the cross", 20,100, 200, 50, DISPLAY_WHITE, DISPLAY_BLACK, DISPLAY_BLACK); ^ sketch\setup.cpp: In function 'void setupFreq()': sketch\setup.cpp:93:11: warning: variable 'prev_calibration' set but not used [-Wunused-but-set-variable] int32_t prev_calibration; ^~~~~~~~~~~~~~~~ sketch\setup.cpp: In function 'void setupBFO()': sketch\setup.cpp:152:17: warning: variable 'prevCarrier' set but not used [-Wunused-but-set-variable] unsigned long prevCarrier; ^~~~~~~~~~~ sketch\setup.cpp: In function 'void setupCwDelay()': sketch\setup.cpp:186:7: warning: variable 'prev_cw_delay' set but not used [-Wunused-but-set-variable] int prev_cw_delay; ^~~~~~~~~~~~~ sketch\setup.cpp: In function 'void doSetup2()': sketch\setup.cpp:359:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (select + i < MENU_TOTAL*COUNTS_PER_ITEM) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sketch\setup.cpp:343:20: warning: unused variable 'btnState' [-Wunused-variable] int select=0, i, btnState; ^~~~~~~~ sketch\ubitx_cat.cpp:21:13: warning: 'useOpenRadioControl' defined but not used [-Wunused-variable] static byte useOpenRadioControl = 0; ^~~~~~~~~~~~~~~~~~~ sketch\ubitx_ui.cpp: In function 'void displayVFO(int)': sketch\ubitx_ui.cpp:222:7: warning: unused variable 'x' [-Wunused-variable] int x, y; ^ sketch\ubitx_ui.cpp:222:10: warning: unused variable 'y' [-Wunused-variable] int x, y; ^ sketch\ubitx_ui.cpp: In function 'void fastTune()': sketch\ubitx_ui.cpp:382:163: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] displayText("Fast tune", LAYOUT_MODE_TEXT_X, LAYOUT_MODE_TEXT_Y, LAYOUT_MODE_TEXT_WIDTH, LAYOUT_MODE_TEXT_HEIGHT, COLOR_TEXT, COLOR_BACKGROUND, COLOR_BACKGROUND); ^ sketch\ubitx_ui.cpp: In function 'void enterFreq()': sketch\ubitx_ui.cpp:413:7: warning: variable 'f' set but not used [-Wunused-but-set-variable] int f; ^ sketch\ubitx_ui.cpp: In function 'void drawTx()': sketch\ubitx_ui.cpp:525:144: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] displayText("TX", LAYOUT_TX_X, LAYOUT_TX_Y, LAYOUT_TX_WIDTH, LAYOUT_TX_HEIGHT, COLOR_ACTIVE_TEXT, COLOR_ACTIVE_BACKGROUND, COLOR_BACKGROUND); ^ sketch\ubitx_ui.cpp: In function 'int enc_read()': sketch\ubitx_ui.cpp:600:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (millis() < stop_by) { // check if the previous state was stable ~~~~~~~~~^~~~~~~~~ sketch\ubitx_ui.cpp: In function 'void vfoReset()': sketch\ubitx_ui.cpp:664:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (vfoActive = VFO_A) sketch\ubitx_ui.cpp: In function 'int setCwSpeed()': sketch\ubitx_ui.cpp:754:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] wpm = getValueByKnob(1, 100, 1, wpm, "CW: ", " WPM"); ^ sketch\ubitx_ui.cpp:754:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] sketch\ubitx_ui.cpp:749:9: warning: unused variable 'knob' [-Wunused-variable] int knob = 0; ^~~~ sketch\ubitx_ui.cpp:763:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ sketch\ubitx_ui.cpp: In function 'void setCwTone()': sketch\ubitx_ui.cpp:767:7: warning: unused variable 'prev_sideTone' [-Wunused-variable] int prev_sideTone; ^~~~~~~~~~~~~ C:\Program Files (x86)\Arduino\sketch\ubitxv6-pdq_gfx_update\ubitx_v6.3.1_code\ubitx_v6.3.1_code.ino: In function 'void setFrequency(long unsigned int)': C:\Program Files (x86)\Arduino\sketch\ubitxv6-pdq_gfx_update\ubitx_v6.3.1_code\ubitx_v6.3.1_code.ino:279:12: warning: unused variable 'osc_f' [-Wunused-variable] uint64_t osc_f, firstOscillator, secondOscillator; ^~~~~ C:\Program Files (x86)\Arduino\sketch\ubitxv6-pdq_gfx_update\ubitx_v6.3.1_code\ubitx_v6.3.1_code.ino:279:19: warning: unused variable 'firstOscillator' [-Wunused-variable] uint64_t osc_f, firstOscillator, secondOscillator; ^~~~~~~~~~~~~~~ C:\Program Files (x86)\Arduino\sketch\ubitxv6-pdq_gfx_update\ubitx_v6.3.1_code\ubitx_v6.3.1_code.ino:279:36: warning: unused variable 'secondOscillator' [-Wunused-variable] uint64_t osc_f, firstOscillator, secondOscillator; ^~~~~~~~~~~~~~~~ C:\Program Files (x86)\Arduino\sketch\ubitxv6-pdq_gfx_update\ubitx_v6.3.1_code\ubitx_v6.3.1_code.ino: In function 'void startTx(byte)': C:\Program Files (x86)\Arduino\sketch\ubitxv6-pdq_gfx_update\ubitx_v6.3.1_code\ubitx_v6.3.1_code.ino:320:17: warning: unused variable 'tx_freq' [-Wunused-variable] unsigned long tx_freq = 0; ^~~~~~~ C:\Program Files (x86)\Arduino\sketch\ubitxv6-pdq_gfx_update\ubitx_v6.3.1_code\ubitx_v6.3.1_code.ino: In function 'void checkButton()': C:\Program Files (x86)\Arduino\sketch\ubitxv6-pdq_gfx_update\ubitx_v6.3.1_code\ubitx_v6.3.1_code.ino:443:7: warning: unused variable 'i' [-Wunused-variable] int i, t1, t2, knob, new_knob; ^ C:\Program Files (x86)\Arduino\sketch\ubitxv6-pdq_gfx_update\ubitx_v6.3.1_code\ubitx_v6.3.1_code.ino:443:10: warning: unused variable 't1' [-Wunused-variable] int i, t1, t2, knob, new_knob; ^~ C:\Program Files (x86)\Arduino\sketch\ubitxv6-pdq_gfx_update\ubitx_v6.3.1_code\ubitx_v6.3.1_code.ino:443:14: warning: unused variable 't2' [-Wunused-variable] int i, t1, t2, knob, new_knob; ^~ C:\Program Files (x86)\Arduino\sketch\ubitxv6-pdq_gfx_update\ubitx_v6.3.1_code\ubitx_v6.3.1_code.ino:443:18: warning: unused variable 'knob' [-Wunused-variable] int i, t1, t2, knob, new_knob; ^~~~ C:\Program Files (x86)\Arduino\sketch\ubitxv6-pdq_gfx_update\ubitx_v6.3.1_code\ubitx_v6.3.1_code.ino:443:24: warning: unused variable 'new_knob' [-Wunused-variable] int i, t1, t2, knob, new_knob; ^~~~~~~~ C:\Program Files (x86)\Arduino\sketch\ubitxv6-pdq_gfx_update\ubitx_v6.3.1_code\ubitx_v6.3.1_code.ino: In function 'void doRIT()': C:\Program Files (x86)\Arduino\sketch\ubitxv6-pdq_gfx_update\ubitx_v6.3.1_code\ubitx_v6.3.1_code.ino:566:17: warning: unused variable 'newFreq' [-Wunused-variable] unsigned long newFreq; ^~~~~~~ sketch\ubitx_si5351.cpp: In function 'void si5351bx_init()': sketch\ubitx_si5351.cpp:69:11: warning: unused variable 'reg' [-Wunused-variable] uint8_t reg; uint32_t msxp1; ^~~ Sketch uses 27740 bytes (90%) of program storage space. Maximum is 30720 bytes. Global variables use 700 bytes (34%) of dynamic memory, leaving 1348 bytes for local variables. Maximum is 2048 bytes.